#-------------------------------------------------
#
# Project created by QtCreator 2016-11-05T16:03:58
#
#-------------------------------------------------
#DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS


greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TRANSLATIONS += topViewEnglishLan.ts

TARGET = topview
TEMPLATE = lib

DEFINES += TOPVIEW_LIBRARY

SOURCES += topview.cpp \
    changespeed.cpp \
    debugmode.cpp \
    currentcoordinate.cpp \
    robotlist.cpp \
    controlmode.cpp \
    jogcoordinate.cpp \
    changerobotdialog.cpp

HEADERS += topview.h\
        topview_global.h \
    changespeed.h \
    debugmode.h \
    currentcoordinate.h \
    robotlist.h \
    controlmode.h \
    jogcoordinate.h \
    changespeed_global.h \
    currentcoordinate_global.h \
    changerobotdialog.h

INCLUDEPATH += ../CommunicateDelegate
INCLUDEPATH += ../ProgramSet
INCLUDEPATH += ../ProgramLanguageTranslate
INCLUDEPATH += ../../include/MacroDefine


unix {
    target.path = /usr/lib
    INSTALLS += target
}

RESOURCES += \
    topviewresources.qrc

FORMS += \
    topview.ui \
    changespeed.ui \
    debugmode.ui \
    currentcoordinate.ui \
    robotlist.ui \
    controlmode.ui \
    jogcoordinate.ui \
    changerobotdialog.ui

OTHER_FILES +=

contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR = ../../lib/x86_WINDOWS
}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR = ../../lib/x86
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR = ../../lib/arm
}



#编译目录
UI_DIR += ../../build/tmphmi
MOC_DIR += ../../build/tmphmi
OBJECTS_DIR += ../../build/tmphmi
RCC_DIR += ../../build/tmphmi
